;*******************************************************************************
; Filename: iegd.inf
; $Revision$
; $Id$
; $Source$
;
; Copyright (c) 2012 Intel Corporation.  All rights reserved.
;
;*******************************************************************************

[Version] 
Signature="$WINDOWS NT$" 
Class=Display
ClassGUID={4D36E968-E325-11CE-BFC1-08002BE10318} 
Provider=%Intel% 
;CatalogFile=iegd.cat
DriverVer = 09/18/2012,1.15.0.3190

;===============================================================================
[SourceDisksNames]
1=%DiskDesc%,,,""

[SourceDisksFiles]
iegdmini.sys = 1
iegdckey.vp  = 1
iegdmsys.vp  = 1
iegdcagt.cpa = 1
iegdcagt.vp  = 1
iegddis.dll  = 1
analog.sys   = 1
analog.vp    = 1
lvds.sys     = 1
lvds.vp      = 1
hdmi.sys     = 1
hdmi.vp      = 1
dp.sys       = 1
dp.vp        = 1
igd3dcdv.dll = 1

;iegd3dga.dll = 1
;iegdglga.dll = 1
;libGLES_CM.dll = 1
;libGLESv2.dll  = 1
;sdvo.sys     = 1
;sdvo.vp      = 1


;===============================================================================
[DestinationDirs]
DefaultDestDir    = 11		; System directory
iegd.Display_cdv  = 11
iegd.Miniport     = 12		; Drivers directory
iegd.Copp         = 12
iegd.Copp_cdv     = 12
iegd.PortDrvs_cdv = 12

;===============================================================================
[Manufacturer]
%Intel%=Intel.Mfg

;===============================================================================
[Intel.Mfg]
%Intel% %iCDV0%    = iegd_cdv, PCI\VEN_8086&DEV_0BE0
%Intel% %iCDV1%    = iegd_cdv, PCI\VEN_8086&DEV_0BE1
%Intel% %iCDV2%    = iegd_cdv, PCI\VEN_8086&DEV_0BE2
%Intel% %iCDV3%    = iegd_cdv, PCI\VEN_8086&DEV_0BE3
%Intel% %iCDV4%    = iegd_cdv, PCI\VEN_8086&DEV_0BE4
%Intel% %iCDV5%    = iegd_cdv, PCI\VEN_8086&DEV_0BE5
%Intel% %iCDV6%    = iegd_cdv, PCI\VEN_8086&DEV_0BE6

;===============================================================================

[iegd_cdv.GeneralConfigData]
MaximumNumberOfDevices = 2
MaximumDeviceMemoryConfiguration = 256

;===============================================================================


[iegd_cdv]
CopyFiles = iegd.Miniport, iegd.Display_cdv, iegd.PortDrvs_cdv, iegd.Copp_cdv

;===============================================================================
[iegd.Miniport]
iegdmini.sys

[iegd.Copp]
iegdckey.vp
iegdmsys.vp
sdvo.vp
lvds.vp
iegdcagt.cpa
iegdcagt.vp

[iegd.Copp_cdv]
iegdckey.vp
iegdmsys.vp
analog.vp
lvds.vp
hdmi.vp
dp.vp
iegdcagt.cpa
iegdcagt.vp


[iegd.Display_cdv]
iegddis.dll
igd3dcdv.dll

[iegd.PortDrvs_cdv]
analog.sys
lvds.sys
hdmi.sys
dp.sys

[iegd.Null]

;===============================================================================
[iegd_cdv.Services]
AddService = iegdmini, 0x00000002, iegd_Service_Inst, iegd_EventLog_Inst
AddService = analog, ,analog_Service_Inst, iegd_EventLog_Inst
AddService = lvds,   ,lvds_Service_Inst,   iegd_EventLog_Inst
AddService = hdmi,   ,hdmi_Service_Inst,   iegd_EventLog_Inst
AddService = dp,     ,dp_Service_Inst,     iegd_EventLog_Inst


;===============================================================================
[iegd_Service_Inst]
ServiceType    = 1
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = 0
LoadOrderGroup = Video
ServiceBinary  = %12%\iegdmini.sys

[analog_Service_Inst]
DisplayName    = "analog"
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\analog.sys

[lvds_Service_Inst]
DisplayName    = "lvds"
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\lvds.sys

[sdvo_Service_Inst]
DisplayName    = "sdvo"
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\sdvo.sys

[hdmi_Service_Inst]
DisplayName    = "hdmi"
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\hdmi.sys

[dp_Service_Inst]
DisplayName    = "dp"
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_DEMAND_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\dp.sys

;===============================================================================
[iegd_EventLog_Inst]
AddReg = iegd_EventLog_AddReg

[iegd_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\drivers\iegdmini.sys"
HKR,,TypesSupported,0x00010001,7

;===============================================================================
[iegd_cdv.SoftwareSettings]
AddReg = iegd_SoftwareDeviceSettings_cdv


;===============================================================================
[iegd_SoftwareDeviceSettings_cdv]
HKR,, InstalledDisplayDrivers, %REG_MULTI_SZ%, iegddis
HKR,, MultiFunctionSupported, %REG_MULTI_SZ%, 1
HKR,, VgaCompatible, %REG_DWORD%, 0
HKR,, PcfVersion,    %REG_DWORD%, 0x0700

HKR,, NoAttribPage, %REG_DWORD%, 0
HKR,, ConfigId, %REG_DWORD%, 1

HKR, ALL\1 , name, %REG_SZ%, "973J"
HKR, ALL\1\General , DisplayConfig, %REG_DWORD%, 2
HKR, ALL\1\General , DisplayDetect, %REG_DWORD%, 1
HKR, ALL\1\General , PortOrder, %REG_SZ%, "45200000"
HKR, ALL\1\Port\4\General , name, %REG_SZ%, "LVDS"
HKR, ALL\1\Port\4\General , Rotation, %REG_DWORD%, 0
HKR, ALL\1\Port\4\General , Edid, %REG_DWORD%, 1
HKR, ALL\1\Port\4\General , EdidAvail, %REG_DWORD%, 7
HKR, ALL\1\Port\4\General , EdidNotAvail, %REG_DWORD%, 5
HKR, ALL\1\Port\4\General , CenterOff, %REG_DWORD%, 1
HKR, ALL\1\Port\4\FpInfo , bkltmethod, %REG_DWORD%, 0
HKR, ALL\1\Port\4\Dtd\1 , PixelClock, %REG_DWORD%, 65000
HKR, ALL\1\Port\4\Dtd\1 , HorzActive, %REG_DWORD%, 1024
HKR, ALL\1\Port\4\Dtd\1 , HorzSync, %REG_DWORD%, 24
HKR, ALL\1\Port\4\Dtd\1 , HorzSyncPulse, %REG_DWORD%, 136
HKR, ALL\1\Port\4\Dtd\1 , HorzBlank, %REG_DWORD%, 320
HKR, ALL\1\Port\4\Dtd\1 , VertActive, %REG_DWORD%, 768
HKR, ALL\1\Port\4\Dtd\1 , VertSync, %REG_DWORD%, 3
HKR, ALL\1\Port\4\Dtd\1 , VertSyncPulse, %REG_DWORD%, 6
HKR, ALL\1\Port\4\Dtd\1 , VertBlank, %REG_DWORD%, 38
HKR, ALL\1\Port\4\Dtd\1 , Flags, %REG_DWORD%, 0x20000
HKR, ALL\1\Port\4\Attr , 27, %REG_DWORD%, 0
HKR, ALL\1\Port\4\Attr , 26, %REG_DWORD%, 24
HKR, ALL\1\Port\5\General , name, %REG_SZ%, "CRT"
HKR, ALL\1\Port\5\General , Rotation, %REG_DWORD%, 0
HKR, ALL\1\Port\5\General , Edid, %REG_DWORD%, 1
HKR, ALL\1\Port\5\General , EdidAvail, %REG_DWORD%, 7
HKR, ALL\1\Port\5\General , EdidNotAvail, %REG_DWORD%, 5
HKR, ALL\1\Port\5\General , CenterOff, %REG_DWORD%, 0
HKR, ALL\1\Port\5\Dtd\1 , PixelClock, %REG_DWORD%, 65000
HKR, ALL\1\Port\5\Dtd\1 , HorzActive, %REG_DWORD%, 1024
HKR, ALL\1\Port\5\Dtd\1 , HorzSync, %REG_DWORD%, 24
HKR, ALL\1\Port\5\Dtd\1 , HorzSyncPulse, %REG_DWORD%, 136
HKR, ALL\1\Port\5\Dtd\1 , HorzBlank, %REG_DWORD%, 320
HKR, ALL\1\Port\5\Dtd\1 , VertActive, %REG_DWORD%, 768
HKR, ALL\1\Port\5\Dtd\1 , VertSync, %REG_DWORD%, 3
HKR, ALL\1\Port\5\Dtd\1 , VertSyncPulse, %REG_DWORD%, 6
HKR, ALL\1\Port\5\Dtd\1 , VertBlank, %REG_DWORD%, 38
HKR, ALL\1\Port\5\Dtd\1 , Flags, %REG_DWORD%, 0x20000
HKR, ALL\1\Port\2\General , name, %REG_SZ%, "HDMI"
HKR, ALL\1\Port\2\General , Rotation, %REG_DWORD%, 0
HKR, ALL\1\Port\2\General , Edid, %REG_DWORD%, 1
HKR, ALL\1\Port\2\General , EdidAvail, %REG_DWORD%, 7
HKR, ALL\1\Port\2\General , EdidNotAvail, %REG_DWORD%, 5
HKR, ALL\1\Port\2\General , CenterOff, %REG_DWORD%, 0
HKR, ALL\1\Port\2\Dtd\1 , PixelClock, %REG_DWORD%, 65000
HKR, ALL\1\Port\2\Dtd\1 , HorzActive, %REG_DWORD%, 1024
HKR, ALL\1\Port\2\Dtd\1 , HorzSync, %REG_DWORD%, 24
HKR, ALL\1\Port\2\Dtd\1 , HorzSyncPulse, %REG_DWORD%, 136
HKR, ALL\1\Port\2\Dtd\1 , HorzBlank, %REG_DWORD%, 320
HKR, ALL\1\Port\2\Dtd\1 , VertActive, %REG_DWORD%, 768
HKR, ALL\1\Port\2\Dtd\1 , VertSync, %REG_DWORD%, 3
HKR, ALL\1\Port\2\Dtd\1 , VertSyncPulse, %REG_DWORD%, 6
HKR, ALL\1\Port\2\Dtd\1 , VertBlank, %REG_DWORD%, 38
HKR, ALL\1\Port\2\Dtd\1 , Flags, %REG_DWORD%, 0x20000



HKR,, PortDrivers, %REG_SZ%, "lvds analog hdmi"


HKCU,"Software\Microsoft\Avalon.Graphics",,,""
HKCU,"Software\Microsoft\Avalon.Graphics",DisableHWAcceleration,%REG_DWORD%, 1

[iegd_ICDSoftwareSettings]
HKLM, "SOFTWARE\Microsoft\Windows NT\CurrentVersion\OpenGLDrivers\iegddis", DLL, %REG_SZ%, iegdglga
HKLM, "SOFTWARE\Microsoft\Windows NT\CurrentVersion\OpenGLDrivers\iegddis", DriverVersion, %REG_DWORD%, 0x00000001
HKLM, "SOFTWARE\Microsoft\Windows NT\CurrentVersion\OpenGLDrivers\iegddis", Flags, %REG_DWORD%, 0x00000001
HKLM, "SOFTWARE\Microsoft\Windows NT\CurrentVersion\OpenGLDrivers\iegddis", Version, %REG_DWORD%, 0x00000002

;===============================================================================
[Strings]

;----------------------------------------------------------------------
; Localizable Strings
;----------------------------------------------------------------------
Intel="Intel Corporation"
DiskDesc="Embedded Installation"

iCDV0="Atom™ N2000/D2000 Series Embedded Media and Graphics Driver"
iCDV1="Atom™ N2000/D2000 Series Embedded Media and Graphics Driver"
iCDV2="Atom™ N2000/D2000 Series Embedded Media and Graphics Driver"
iCDV3="Atom™ N2000/D2000 Series Embedded Media and Graphics Driver"
iCDV4="Atom™ N2000/D2000 Series Embedded Media and Graphics Driver"
iCDV5="Atom™ N2000/D2000 Series Embedded Media and Graphics Driver"
iCDV6="Atom™ N2000/D2000 Series Embedded Media and Graphics Driver"


;----------------------------------------------------------------------
; Non Localizable Strings
;----------------------------------------------------------------------
SERVICE_BOOT_START     = 0x0
SERVICE_SYSTEM_START   = 0x1
SERVICE_AUTO_START     = 0x2
SERVICE_DEMAND_START   = 0x3
SERVICE_DISABLED       = 0x4

SERVICE_KERNEL_DRIVER  = 0x1

SERVICE_ERROR_IGNORE   = 0x0	; Continue on driver load fail
SERVICE_ERROR_NORMAL   = 0x1	; Display warn, but continue
SERVICE_ERROR_SEVERE   = 0x2	; Attempt LastKnownGood
SERVICE_ERROR_CRITICAL = 0x3	; Attempt LastKnownGood, BugCheck

REG_EXPAND_SZ = 0x00020000
REG_MULTI_SZ  = 0x00010000
REG_DWORD     = 0x00010001
REG_SZ        = 0x00000000
